package sk.tuke.domain;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DiagnoseType", propOrder = { "name", "number", "description", "symptoms", "disease", "drugs", "amountDrugs" })
@XmlRootElement(name = "Diagnose")
public class Diagnose {

	@XmlElement(required = true)
	private String name;
	@XmlElement(required = true)
	private Integer number;
	@XmlElement(required = false)
	private String description;
	@XmlElement(required = true)
	private List<Drug> drugs;
	@XmlElement(required = true)
	private List<Symptom> symptoms;
	@XmlElement(required = true)
	private Disease disease;
	@XmlElement(required = true)
	private Integer amountDrugs;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void setDisease(Disease disease) {
		this.disease = disease;
	}

	public Disease getDisease() {
		return disease;
	}

	public void setDrugs(List<Drug> drugs) {
		this.drugs = drugs;
	}

	public List<Drug> getDrugs() {
		return drugs;
	}

	public void setSymptoms(List<Symptom> symptoms) {
		this.symptoms = symptoms;
	}

	public List<Symptom> getSymptoms() {
		return symptoms;
	}

	public void setAmountDrugs(Integer amountDrugs) {
		this.amountDrugs = amountDrugs;
	}

	public Integer getAmountDrugs() {
		return amountDrugs;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Integer getNumber() {
		return number;
	}

}
